package com.hup.vd.exception;

import com.hup.vd.model.config.TaskInfo;
import lombok.Getter;

/**
 * 任务异常
 *
 * @author hugan
 * @date 2022/1/12
 */
public class TaskException extends RuntimeException {

    @Getter
    private final TaskInfo task;

    public TaskException(TaskInfo task, Throwable cause) {
        super(cause);
        this.task = task;
    }

}
